package com.google.code.server4j.connector;

public class HttpInfo {
	private String requestMethod;
	private String uri;
	private String queryUri;
	private String httpVersion;
	
	private HttpHeader[] requestHeaders;
	private HttpHeader[] responseHeaders;
	public String getRequestMethod() {
		return requestMethod;
	}
	public void setRequestMethod(String requestMethod) {
		this.requestMethod = requestMethod;
	}
	public String getUri() {
		return uri;
	}
	public void setUri(String uri) {
		this.uri = uri;
	}
	public String getQueryUri() {
		return queryUri;
	}
	public void setQueryUri(String queryUri) {
		this.queryUri = queryUri;
	}
	public String getHttpVersion() {
		return httpVersion;
	}
	public void setHttpVersion(String httpVersion) {
		this.httpVersion = httpVersion;
	}
	public HttpHeader[] getRequestHeaders() {
		return requestHeaders;
	}
	public void setRequestHeaders(HttpHeader[] requestHeaders) {
		this.requestHeaders = requestHeaders;
	}
	public HttpHeader[] getResponseHeaders() {
		return responseHeaders;
	}
	public void setResponseHeaders(HttpHeader[] responseHeaders) {
		this.responseHeaders = responseHeaders;
	}
	@Override
	public String toString() {
		return "method="+requestMethod+" uri="+uri+" version="+httpVersion;
	}
	
	
	
}
